#include <stdio.h>

int main(int argc, char *argv[])
{
    unsigned int y, m, d;
    printf(">");
    scanf("%4u%2u%2u", &y, &m, &d);
    printf("input: %u-%u-%u\n", y, m, d);

    return 0;
}
